<?php
namespace Admin\Model;
use Think\Model;
class ClasssModel extends Model {
    //自动验证
    protected $_validate = array(
         array('classs_id','require','classs_id必须！',self::EXISTS_VALIDATE ),
         array('classl_id','require','classl_id必须！',self::EXISTS_VALIDATE ),
         array('classm_id','require','classm_id必须！',self::EXISTS_VALIDATE ),
         array('classs_name','require','名称必须！',self::EXISTS_VALIDATE ),
         array('classs_order','require','必须！',self::EXISTS_VALIDATE ),
         array('classs_status','require','开启状态必须！',self::EXISTS_VALIDATE ),
         
    );
    // 自动填充设置
    protected $_auto = array(
         
    );
}